Entity SpawnPoint
SpawnPoint is the Entity definition for a spawn point.
Subclass of Entity.
Functions
GetDesiredTeam () | GetDesiredTeam returns the player ID of this spawn point. |
GetSpawnCounter () | GetSpawnCounter returns the counter for this spawn point. |
GetSpawnType () | GetSpawnType returns the type string for this spawn point. |
GetMainDudeOnly () | GetMainDudeOnly returns true if only the main character should spawn. |
Functions
- GetDesiredTeam ()
-
GetDesiredTeam returns the player ID of this spawn point.
Returns:
-
An integer indicating the player ID.
- GetSpawnCounter ()
-
GetSpawnCounter returns the counter for this spawn point.
Returns:
-
An integer indicating the counter value.
- GetSpawnType ()
-
GetSpawnType returns the type string for this spawn point.
Returns:
-
An integer indicating the type string.
- GetMainDudeOnly ()
-
GetMainDudeOnly returns true if only the main character should spawn.
Returns:
-
A boolean indicating if only the main character spawns.